<div class="swiper-slide" data-id="<%= id %>">
    <div class="news" data-index="<%= index %>" data-tab="<%= tab %>">
        <div class="headimg" style="background-image: url('<%= image %>')">
        </div>
        <h3 class="title">
            <%= title %>
        </h3>
        <p class="publish-date">
        </p>
        <div class="desc">
            <%= content %>
        </div>
    </div>
</div>